FROM openjdk:21-jdk-slim
RUN mkdir -p /cjym/desk
WORKDIR /cjym/desk
EXPOSE 9999
ADD ./target/GateWay-1.0.0.jar.jar ./app.jar
ENTRYPOINT java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom --enable-preview -jar app.jar --spring.profiles.active=prod ${APPLICATION_ARGS}
